home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / doom / quake_ad.zip / ANTICA1.ZIP / ANTICAMP.TXT < prev    next >
Text File  |  1997-01-05  |  3KB  |  126 lines

  1. Title    : AntiCamp
  2. Filename : anticamp.zip
  3. Version  : 1.0
  4. Date     : 5/1/97 (5th of January '97)
  5. Author   : Shovel
  6. Email    : Shovel@a10gw.starway.net.au
  7. Credit   : A player by the name of BosMan on Quake1.netspace.net.au
  8.            for making me so pissed off at campers that I made this mod..
  9.  
  10.            Ferrara Francesco (for his fantastic QuakeC Manual)
  11.  
  12.            and of course,
  13.                 Id Software     For the ruler of the cosmos, QUAKE.
  14.  
  15. Type of Mod
  16. -----------
  17. Quake C  : yes
  18. Sound    : no
  19. MDL      : no
  20.  
  21.  
  22. Format of QuakeC
  23. ----------------
  24. unified diff  : no
  25. context diff  : no
  26. .qc files     : yes
  27. progs.dat     : no
  28.  
  29.  
  30. Description of the Modification
  31. -------------------------------
  32. If you follow instructions, this, when installed on a server,
  33. will make sure that people cannot stay within a certain radius
  34. for more than 30 seconds. After that they're gibbed.
  35.  
  36. How to Install the Modification
  37. -------------------------------
  38. Make a new directory and copy the QuakeC sources there,
  39. or do this to your own sources. Then compile (QCC) and run
  40. quake -game <dirname>..
  41.  
  42. -----------------
  43. Add to client.qc:
  44.  
  45. Prototypes:
  46.  
  47. void() CheckPlayerForCamp;
  48.  
  49. -------
  50.  
  51. PlayerPostThink:
  52.  
  53. add "CheckPlayerForCamp();" near the end of the proc
  54.  
  55. -------
  56.  
  57. ClientObituary:
  58.  
  59. add this at the start of the proc:
  60.  
  61.         if (attacker.classname == "camper")
  62.         {
  63.                 bprint (targ.netname);
  64.                 bprint (" camped for too long\n");
  65.                 return;
  66.         }
  67. ---------------
  68. Add to defs.qc:
  69.  
  70. after the end_sys_fields var of course,
  71.  
  72. .vector camppos;
  73. .float camptime;
  74. .float camping;
  75.  
  76.  
  77. Technical Details
  78. -----------------
  79. Not much.. a fairly simple patch.. part of my upcoming ShovMods patch..
  80.  
  81. If there's any bugs, email me: Shovel@a10gw.starway.net.au
  82.  
  83.  
  84. Author Information
  85. ------------------
  86. Has created:
  87.  
  88.         Skyscraper (DooM ][ - SH-SKYSC.WAD)
  89.         Chapel (DooM ][ - CHAPEL.WAD)
  90.  
  91. Is working on:
  92.  
  93.         ShovMods        QC patch for my own server which i will release)
  94.         QuakeScraper    Quake version of Skyscraper
  95.         TeamWars        This isn't Quake, this is war: Tanks, APCs,
  96.                         air strikes, bases you can destroy....
  97.  
  98. Visit my Home page!
  99.  
  100. http://203.33.70.10/~shovel/
  101.  
  102. Copyright and Distribution Permissions
  103. --------------------------------------
  104.  
  105. Authors MAY use this modification as a basis for other
  106. publically available work.
  107.  
  108. This file may be distributed on Bulletin Board Systems or on the Internet,
  109. PROVIDED that this file IS included and NOT MODIFIED.
  110.  
  111. This file may not be sold for profit without my prior consent.
  112.  
  113. No employee or relative of an employee of Actura software may possess a copy
  114. of this modification.
  115.  
  116. This file may not be distributed on any CD-ROM or commercial product without
  117. my prior consent.
  118.  
  119. Availability
  120. ------------
  121.  
  122. This modification is available from the following places:
  123.  
  124. FTP   : ftp.cdrom.com
  125. WWW   : (soon from) http://203.33.70.10/~shovel/quake/
  126.